using System;
using System.Collections.Generic;
using System.Text;

namespace NativeWiFiLibrary
{
    public enum NetworkState
    {
        NotReady = 0,
        Connected,
        AdHocNetworkFormed,
        Disconnecting,
        Disconnected,
        Associating,
        Discovering,
        Authenticating
    }

    public enum BssType
    {
        None = 0,
        Infrastructure = 1,
        Independent = 2,
        Any = 3
    }

    public enum PhyType
    {
        Unknown = 0,
        Any = Unknown,
        Fhss = 1,
        Dsss = 2,
        IrBaseBand = 3,
        Ofdm = 4,
        Hrdsss = 5,
        Erp = 6,
        Ht = 7
        //IHV_start = 0x80000000,
        //IHV_end = 0xffffffff
    }

    public enum AuthenticationAlgorithm
    {
        None = 0,
        _80211Open = 1,
        _80211SharedKey = 2,
        Wpa = 3,
        WpaPsk = 4,
        WpaNone = 5,               // used in NatSTA only
        Rsna = 6,
        RsnaPsk = 7
        //IHV_START = (int)0x80000000,
        //IHV_END = (int)0xffffffff
    }

    [Flags]
    public enum CipherAlgorithm
    {
        None = 0x00,
        Wep40 = 0x01,
        Tkip = 0x02,
        Ccmp = 0x04,
        Wep104 = 0x05,
        WpaUseGroup = 0x100,
        RsnUseGroup = 0x100,
        Wep = 0x101
    }
}
